<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WeiboAndroid: com.example.hp.weibo.ConfirmPasswordActivity类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WeiboAndroid
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">微博</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp.html">hp</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp_1_1weibo.html">weibo</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html">ConfirmPasswordActivity</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.hp.weibo.ConfirmPasswordActivity类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.example.hp.weibo.ConfirmPasswordActivity 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a4e1f41484f88a58ba5a48b64cd0115f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a4e1f41484f88a58ba5a48b64cd0115f4">onCreate</a> (Bundle savedInstanceState)</td></tr>
<tr class="separator:a4e1f41484f88a58ba5a48b64cd0115f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:afe09fddbed7fc821561c532ba457cd8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#afe09fddbed7fc821561c532ba457cd8c">show</a> (final String response)</td></tr>
<tr class="separator:afe09fddbed7fc821561c532ba457cd8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d95ca0b1314545a1fef46edd8ae24da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a5d95ca0b1314545a1fef46edd8ae24da">confirm</a> ()</td></tr>
<tr class="separator:a5d95ca0b1314545a1fef46edd8ae24da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a6833e76bc119f077cf202d3c4f07351e"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a6833e76bc119f077cf202d3c4f07351e">Phone</a></td></tr>
<tr class="memdesc:a6833e76bc119f077cf202d3c4f07351e"><td class="mdescLeft">&#160;</td><td class="mdescRight">手机号  <a href="#a6833e76bc119f077cf202d3c4f07351e">更多...</a><br /></td></tr>
<tr class="separator:a6833e76bc119f077cf202d3c4f07351e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d032e28c1b82b8e69f426f46e8a06f"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#ae7d032e28c1b82b8e69f426f46e8a06f">PassWord1</a></td></tr>
<tr class="memdesc:ae7d032e28c1b82b8e69f426f46e8a06f"><td class="mdescLeft">&#160;</td><td class="mdescRight">密码1  <a href="#ae7d032e28c1b82b8e69f426f46e8a06f">更多...</a><br /></td></tr>
<tr class="separator:ae7d032e28c1b82b8e69f426f46e8a06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3a763c7c98dcb33120e0b61d494f713"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#ab3a763c7c98dcb33120e0b61d494f713">PassWord2</a></td></tr>
<tr class="memdesc:ab3a763c7c98dcb33120e0b61d494f713"><td class="mdescLeft">&#160;</td><td class="mdescRight">密码2  <a href="#ab3a763c7c98dcb33120e0b61d494f713">更多...</a><br /></td></tr>
<tr class="separator:ab3a763c7c98dcb33120e0b61d494f713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53d2ddc641fe829ed5271315aef89f20"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a53d2ddc641fe829ed5271315aef89f20">Name</a></td></tr>
<tr class="memdesc:a53d2ddc641fe829ed5271315aef89f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户名  <a href="#a53d2ddc641fe829ed5271315aef89f20">更多...</a><br /></td></tr>
<tr class="separator:a53d2ddc641fe829ed5271315aef89f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80299d33677f0bdc8cbeb7241f8e6b7"><td class="memItemLeft" align="right" valign="top">Button&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#aa80299d33677f0bdc8cbeb7241f8e6b7">_btnConfirm</a></td></tr>
<tr class="memdesc:aa80299d33677f0bdc8cbeb7241f8e6b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册按钮  <a href="#aa80299d33677f0bdc8cbeb7241f8e6b7">更多...</a><br /></td></tr>
<tr class="separator:aa80299d33677f0bdc8cbeb7241f8e6b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651a744fd9388dd9aa6d972caa999677"><td class="memItemLeft" align="right" valign="top">EditText&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a651a744fd9388dd9aa6d972caa999677">_etName</a></td></tr>
<tr class="memdesc:a651a744fd9388dd9aa6d972caa999677"><td class="mdescLeft">&#160;</td><td class="mdescRight">用户名编辑框  <a href="#a651a744fd9388dd9aa6d972caa999677">更多...</a><br /></td></tr>
<tr class="separator:a651a744fd9388dd9aa6d972caa999677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cdd103d97655c67ed200a6349b2d631"><td class="memItemLeft" align="right" valign="top">EditText&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#a1cdd103d97655c67ed200a6349b2d631">_etPassWord1</a></td></tr>
<tr class="memdesc:a1cdd103d97655c67ed200a6349b2d631"><td class="mdescLeft">&#160;</td><td class="mdescRight">密码1编辑框  <a href="#a1cdd103d97655c67ed200a6349b2d631">更多...</a><br /></td></tr>
<tr class="separator:a1cdd103d97655c67ed200a6349b2d631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2f9e7fcb15b1a5038b597ecf318ea63"><td class="memItemLeft" align="right" valign="top">EditText&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_confirm_password_activity.html#aa2f9e7fcb15b1a5038b597ecf318ea63">_etPassWord2</a></td></tr>
<tr class="memdesc:aa2f9e7fcb15b1a5038b597ecf318ea63"><td class="mdescLeft">&#160;</td><td class="mdescRight">密码2编辑框  <a href="#aa2f9e7fcb15b1a5038b597ecf318ea63">更多...</a><br /></td></tr>
<tr class="separator:aa2f9e7fcb15b1a5038b597ecf318ea63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>注册确认密码页面</p>
<p>根据服务器返回的不同的值，进行注册，注册失败等操作 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a5d95ca0b1314545a1fef46edd8ae24da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d95ca0b1314545a1fef46edd8ae24da">&#9670;&nbsp;</a></span>confirm()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.ConfirmPasswordActivity.confirm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>确认密码，用户名 </p>
<p>获取密码1</p>
<p>获取密码2</p>
<p>获取用户名</p>
<p>密码1或密码2为空，提示用户密码不能为空</p>
<p>用户名为空，提示用户用户名不能为空</p>
<p>用户名和密码动不为空，提交数据给服务器</p>
<p>联网失败，提示用户网络异常</p>
<p>获取返回值</p>
<p>转化为int形式</p>
<p>返回值为1，提示用户成功，跳转页面</p>
<p>返回值为0，提示用户失败</p>
<p>密码1和密码2不一致，提示用户密码不一致 </p>

</div>
</div>
<a id="a4e1f41484f88a58ba5a48b64cd0115f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e1f41484f88a58ba5a48b64cd0115f4">&#9670;&nbsp;</a></span>onCreate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.ConfirmPasswordActivity.onCreate </td>
          <td>(</td>
          <td class="paramtype">Bundle&#160;</td>
          <td class="paramname"><em>savedInstanceState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取手机号</p>
<p>初始化控件</p>
<p>注册按钮点击事件</p>
<p>进行确认 </p>

</div>
</div>
<a id="afe09fddbed7fc821561c532ba457cd8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe09fddbed7fc821561c532ba457cd8c">&#9670;&nbsp;</a></span>show()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.ConfirmPasswordActivity.show </td>
          <td>(</td>
          <td class="paramtype">final String&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>根据不同操作，给用户不同提示</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">response</td><td>要显示的值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aa80299d33677f0bdc8cbeb7241f8e6b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa80299d33677f0bdc8cbeb7241f8e6b7">&#9670;&nbsp;</a></span>_btnConfirm</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Button com.example.hp.weibo.ConfirmPasswordActivity._btnConfirm</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>注册按钮 </p>

</div>
</div>
<a id="a651a744fd9388dd9aa6d972caa999677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a651a744fd9388dd9aa6d972caa999677">&#9670;&nbsp;</a></span>_etName</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">EditText com.example.hp.weibo.ConfirmPasswordActivity._etName</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用户名编辑框 </p>

</div>
</div>
<a id="a1cdd103d97655c67ed200a6349b2d631"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cdd103d97655c67ed200a6349b2d631">&#9670;&nbsp;</a></span>_etPassWord1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">EditText com.example.hp.weibo.ConfirmPasswordActivity._etPassWord1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>密码1编辑框 </p>

</div>
</div>
<a id="aa2f9e7fcb15b1a5038b597ecf318ea63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2f9e7fcb15b1a5038b597ecf318ea63">&#9670;&nbsp;</a></span>_etPassWord2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">EditText com.example.hp.weibo.ConfirmPasswordActivity._etPassWord2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>密码2编辑框 </p>

</div>
</div>
<a id="a53d2ddc641fe829ed5271315aef89f20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53d2ddc641fe829ed5271315aef89f20">&#9670;&nbsp;</a></span>Name</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ConfirmPasswordActivity.Name</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用户名 </p>

</div>
</div>
<a id="ae7d032e28c1b82b8e69f426f46e8a06f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7d032e28c1b82b8e69f426f46e8a06f">&#9670;&nbsp;</a></span>PassWord1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ConfirmPasswordActivity.PassWord1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>密码1 </p>

</div>
</div>
<a id="ab3a763c7c98dcb33120e0b61d494f713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3a763c7c98dcb33120e0b61d494f713">&#9670;&nbsp;</a></span>PassWord2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ConfirmPasswordActivity.PassWord2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>密码2 </p>

</div>
</div>
<a id="a6833e76bc119f077cf202d3c4f07351e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6833e76bc119f077cf202d3c4f07351e">&#9670;&nbsp;</a></span>Phone</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ConfirmPasswordActivity.Phone</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>手机号 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>G:/AndroidWork/WeiBo/app/src/main/java/com/example/hp/weibo/<a class="el" href="_confirm_password_activity_8java.html">ConfirmPasswordActivity.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
